import { createAPI } from '@/utils/request'

// 请求组题列表
export const reqList = data => createAPI('/questions/randoms/', 'get', data)
// 请求删除组题
export const delRandoms = data => createAPI(`/questions/randoms/${data.id}`, 'DELETE', data)
// // 请求组题详情
export const questions = data => createAPI(`/questions/${data.id}`, 'get', data)
// export const questions = id => createAPI(`/questions/${id}`, 'get', id)
